package com.itheima.homework;

public class Homework {
    public static void main(String[] args) {

    }

    public static void printfirst(){
        System.out.println("The harder you try, the luckier you get");
    }

    public static void printsecond(){
        System.out.println("动手敲\n治百病");
    }

    public static void printthird(){
        System.out.println("20");
        System.out.println("5.2");
        System.out.println("我");
        System.out.println("今天的学习，是为了明天更好的自己");
        System.out.println("true");
    }

    public static void printfourth(){
        System.out.println("10");
        System.out.println("5.333");
        //System.out.println('10');
        System.out.println("小明");
        System.out.println(true);
        //System.out.println(null);
    }

    public static void printfifth(){
        int a = 10;
        System.out.println(a);
        a = 30;
        System.out.println(a);
    }

    public static void printsixth(){
        int a = 18;
        System.out.println(a);
        a += 1;
        System.out.println(a);
    }

    public static void printseventh(){
        double a = 300;
        System.out.println(a);
        a += 233.50;
        System.out.println(a);
        a -= 200;
        System.out.println(a);
    }

    public static void printeighth(){
        String id = "A20330303";
        String name = "易秀";
        int age = 23;
        double height = 173.5;
        String address = "广州市天河区珠吉公路上街4号";
        System.out.println("------学员信息展示-------");
        System.out.println("学号：" + id);
        System.out.println("姓名：" + name);
        System.out.println("年龄：" + age);
        System.out.println("身高：" + height);
        System.out.println("居住地：" + address);
    }

    public static void printninth(){
        String brand = "小米";
        String desc = "小米13 徕卡光学镜头 第二代骁龙8处理器";
        int count = 10000;
        String store = "小米京东自营旗舰店";
        System.out.println("------手机信息-------");
        System.out.println("手机的品牌：" + brand);
        System.out.println("商品介绍：" + desc);
        System.out.println("评论数：" + count);
        System.out.println("商家信息：" + store);
    }
}
